<?php
include 'Templum.php';
// create Templum object with parameters:
//   1. Path to templates directory
//   2. Path to cache directory
$oTpl = new Templum('template', 'cache');
// simple assign
$oTpl->test = array (1,2,3,4,5);
// natural assign
$oTpl->users['Nico'] = 'Nikolay Hack';
$oTpl->users['Tigg'] = 'Bobby Dic';
// letter size - does meter (two different variables)
$oTpl->myname = 'Templum - php template engine';
$oTpl->Myname = 'Current release: Templum 0.9';
// compile template and return result
$sResult = $oTpl->getTemplate('test.html');
// print template
echo $sResult;